package com.ity.teamanagement.service;

import com.ity.teamanagement.entity.inputParam.AddRotationChartParam;
import com.ity.teamanagement.entity.inputParam.DeleteRotationChartParam;
import com.ity.teamanagement.entity.inputParam.SelectRotationChartParam;
import com.ity.teamanagement.entity.inputParam.UpdateRotationChartParam;
import com.ity.teamanagement.result.Result;

/**
 * @author coderFu
 * @create 2021/11/10
 */
public interface RotationChartService {

    /**
     * 添加轮播图
     * @param addRotationChartParam
     * @return
     */
    Result addRotationChart(AddRotationChartParam addRotationChartParam);

    /**
     * 根据轮播图id更新轮播图信息
     * @param updateRotationChartParam
     * @return
     */
    Result updateRotationChart(UpdateRotationChartParam updateRotationChartParam);

    /**
     * 根据轮播图id删除轮播图信息
     * @param deleteRotationChartParam
     * @return
     */
    Result deleteRotationChart(DeleteRotationChartParam deleteRotationChartParam);

    /**
     * 根据轮播图id查询轮播图详情
     * @param selectRotationChartParam
     * @return
     */
    Result getRotationChartDetailsById(SelectRotationChartParam selectRotationChartParam);

    /**
     * 根据顺序查询轮播图列表数据
     * @return
     */
    Result getRotationChartList();

}
